if x > 0
then if x > 5 then write(x)
              else write(x + 5)
else read(x)